<?
$menus = $this->menu;
$current = $this->current;
?>

<? //print_r($menus); die;?>

<!-- START NAV -->

<div class="nav_top"></div>

<div id="nav">

    <ul>
        <?$count = count($menus);?>
        <? foreach ($menus as $key => $menu): ?>

        <a href="<?= $this->url(array('id' => $menu['id']), 'pages') ?>">

            <?if ($key <> $count - 1): ?>
                   
            <div class="main-menu" style="background:url(/images/polosa.png)no-repeat;
                     background-position: right bottom"><?=$menu['title'];?>
                <div class="triougle"></div>
            </div>

            <? else: ?>
            <div class="main-menu">   <?=$menu['title'];?>
                <div class="triougle"></div>
            </div>
            <?endif;?>

        </a>

        <? endforeach;?>
    </ul>

    <!-- Link to GET A QUOTE or VIEW QUOTE -->
    <a href="#" class="button">
        <!--<cufon style="width: 69px; height: 12px;" alt="Tryouts registration " class="cufon cufon-canvas"><canvas style="width: 79px; height: 13px; top: -1px; left: 0px;" height="13" width="79"></canvas>
        <cufontext>Tryouts registration</cufontext>
        </cufon>-->
       
    </a>

</div>

<!-- END NAV -->